<?php 
final class KUAIXUEPHP{

	public static function run(){
		self::_set_const();
		// self::_create_dir();
		// self::_import_file();
		// Application::run();
	}

	private static function _set_const(){
		// /www/KUAIXUEAPP/KUAIXUEPHP/KUAIXUEPHP.php
		// var_dump(__FILE__);
		$path = str_replace('\\', '/', __FILE__);
		// /www/KUAIXUEAPP/KUAIXUEPHP
		define('KUAIXUEPHP_PATH', dirname($path));
		define('CONFIG_PATH', KUAIXUEPHP_PATH . '/Config');
		define('DATA_PATH', KUAIXUEPHP_PATH . '/Data');
		define('LIB_PATH', KUAIXUEPHP_PATH . '/Lib');
		define('CORE_PATH', LIB_PATH . '/Core');
		define('FUNCTION_PATH', LIB_PATH . '/Function');

		define('ROOT_PATH', dirname(KUAIXUEPHP_PATH));
		//应用目录
		define('APP_PATH', ROOT_PATH . '/' . APP_NAME);
		echo APP_PATH;
		

	}

}


KUAIXUEPHP::run();


 ?>